<template>
	<view class="content">
		<view class="title1" @click="jump()">
			{{title1}}
		</view>
		<view class="cz_content">
			<view class="top flex">
				<image :src="src1" mode="" class="img"></image>
				<view class="title">
					{{title}}
				</view>
				<!-- <view class="title1">
					{{title1}}
				</view> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				src1:'/static/images/collect.gif',
				title:'暂无可用优惠券',
				title1:'？使用说明'
			}
		},
		methods:{
			jump:function(){
				uni.navigateTo({
					url: './sanji/yiwen',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			}
		}
	}
</script>

<style>
	page{background-color: #f8f8f8;}
	.flex{display: flex;flex-direction: column;align-items: center;}
	.cz_content{width:60%;margin: 200rpx auto;text-align: center;vertical-align: middle;}
	.img{display: block;width:100rpx;height: 100rpx;}
	.title{color: #c8c8c8;font-size: 40rpx;margin: 20rpx 0rpx;}
	.title1{margin-top: 40rpx;display: flex;justify-content: flex-end;}
</style>






<!-- <template>
  <view>
    <canvas canvas-id="OTHBVZYLEcSXooykxlygIIPergTSBAlm" id="OTHBVZYLEcSXooykxlygIIPergTSBAlm" class="charts" @touchend="tap"/>
  </view>
</template>

<script>
import uCharts from '@/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js';
var uChartsInstance = {};
export default {
  data() {
    return {
      cWidth: 750,
      cHeight: 400
    };
  },
  onReady() {
    //这里的 750 对应 css .charts 的 width
    this.cWidth = uni.upx2px(750);
    //这里的 500 对应 css .charts 的 height
    this.cHeight = uni.upx2px(400);
    this.getServerData();
  },
  methods: {
    getServerData() {
      //模拟从服务器获取数据时的延时
      setTimeout(() => {
        //模拟服务器返回数据，如果数据格式和标准格式不同，需自行按下面的格式拼接
        let res = {
            categories: ["8月10日","8月24日","9月7日","9月22日","10月11日"],
            series: [
              {
                name: "92#",
                data: [8.5,8.3,8.5,8.1,8.1]
              },
              {
                name: "95#",
                data: [8.5,8.3,8.5,8.1,8.1]
              },
              {
                name: "0#",
                data: [8.5,8.3,8.5,8.1,8.1]
              }
            ]
          };
        this.drawCharts('OTHBVZYLEcSXooykxlygIIPergTSBAlm', res);
      }, 500);
    },
    drawCharts(id,data){
      const ctx = uni.createCanvasContext(id, this);
      uChartsInstance[id] = new uCharts({
        type: "area",
        context: ctx,
        width: this.cWidth,
        height: this.cHeight,
        categories: data.categories,
        series: data.series,
        animation: true,
        timing: "easeOut",
        duration: 1000,
        rotate: false,
        rotateLock: false,
        background: "#FFFFFF",
        color: ["#f00"],
        padding: [15,15,0,15],
        fontSize: 13,
        fontColor: "#666666",
        dataLabel: true,
        dataPointShape: true,
        dataPointShapeType: "solid",
        touchMoveLimit: 60,
        enableScroll: false,
        enableMarkLine: false,
        legend: {
          show: true,
          position: "bottom",
          float: "center",
          padding: 5,
          margin: 5,
          backgroundColor: "rgba(0,0,0,0)",
          borderColor: "rgba(0,0,0,0)",
          borderWidth: 0,
          fontSize: 13,
          fontColor: "#666666",
          lineHeight: 11,
          hiddenColor: "#CECECE",
          itemGap: 10
        },
        xAxis: {
			
        
          disabled: false,
          axisLine: false,
          axisLineColor: "#CCCCCC",
          calibration: false,
          fontColor: "#666666",
          fontSize: 13,
          rotateLabel: false,
          rotateAngle: 45,
          itemCount: 2,
          boundaryGap: "center",
          splitNumber: 2,
          gridColor: "#fff",
          gridType: "solid",
          dashLength: 4,
          gridEval: 1,
          scrollShow: false,
          scrollAlign: "left",
          scrollColor: "#A6A6A6",
          scrollBackgroundColor: "#EFEBEF",
          formatter: "",
		 
        },
        yAxis: {
			min: 7,
			max: 9,
          gridType: "dash",
          dashLength: 2,
         
          disableGrid: true,
          splitNumber: 2,
         
          padding: 10,
          showTitle: false,
          data: []
        },
        extra: {
          area: {
            type: "curve",
            opacity: 0.2,
            addLine: true,
            width: 2,
            gradient:true,
			
          },
          tooltip: {
			  disableGrid:true,
            showBox: true,
            showArrow: true,
            showCategory: false,
            borderWidth: 0,
            borderRadius: 0,
            borderColor: "#000000",
            borderOpacity: 0.7,
            bgColor: "#000000",
            bgOpacity: 0.7,
            gridType: "solid",
            dashLength: 4,
            gridColor: "#CCCCCC",
            fontColor: "#FFFFFF",
            splitLine: true,
            horizentalLine: false,
            xAxisLabel: false,
            yAxisLabel: false,
            labelBgColor: "#FFFFFF",
            labelBgOpacity: 0.7,
            labelFontColor: "#666666"
          },
          markLine: {
            type: "solid",
            dashLength: 4,
            data: []
          }
        }
      });
    },
    tap(e){
      uChartsInstance[e.target.id].touchLegend(e);
      uChartsInstance[e.target.id].showToolTip(e);
    }
  }
};
</script>

<style scoped>
  .charts{
    width: 750rpx;
    height: 500rpx;
  }
</style> -->